package com.itlong.cloud.noncore.operate;
/**
 * <desc>
 *      运营-日志管理-操作日志业务处理暴露接口实现类
 * </desc>
 *
 * @createDate 2018/04/12
 */

import com.itlong.cloud.POJO.DTO.operate.OperateLoggerOperationLogGetPageDTO;
import com.itlong.cloud.POJO.VO.operate.OperateOperationLogVO;
import com.itlong.cloud.utils.page.Page;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("non-core-service")
public interface IOperateOperationLogServiceClient {

    /**
     * <desc>
     *      分页获取信息。
     * <desc/>
     *
     * @param  pageDTO
     * @return
     * @author Qiang.S
     * @createDate 2018-04-12
     */
    @RequestMapping(path = "/operate/logger/operationLog/getPage")
    Page<OperateOperationLogVO> getPage(@RequestBody OperateLoggerOperationLogGetPageDTO pageDTO) throws Exception;

    /**
     * <desc>
     *      删除功能
     * </desc>
     *
     * @param ids 操作日志id数组
     * @return sql执行行数
     * @author Qiang.S
     * @createDate 2018/04/12
     */
    @RequestMapping(path = "/operate/logger/operationLog/delete")
    Integer delete(@RequestParam("ids") String ids);

}
